package com.hopes.bizz.risk.transfer.constant;

public enum RiskStatusCode {

    HTTP_OK(200, "正确"),

    HTTP_TOKEN_ANALYZE_ERROR(400, "token无法解析"),

    HTTP_TOKEN_INVALID(401, "token无效"),

    HTTP_REQUEST_EXCESSIVE(403, "请求过于频繁,请稍后再试"),

    HTTP_CONTENT_ERROR(411, "请求内容为空或者无法解析"),

    HTTP_SIZE_ERROR(413, "请求内容的大小过大"),

    HTTP_TOKEN_EXPIRED(425, "token已过期"),

    HTTP_ERROR(500, "系统错误,请联系管理员"),

    HTTP_TIMEOUT(504, "请求超时,请联系管理员"),
    ;


    RiskStatusCode(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    private Integer code;

    private String msg;

    public Integer getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }
}
